#ifndef C_QWIDGET_H
#define C_QWIDGET_H

/****************************************************************************
** QWidget C bindings generated from reading C++ file 'qwidget.h'
**
** Created: Tue Jul 30 19:22:27 2002
**      by: The Qt Meta Object Compiler ($Revision: 2.53 $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

C_EXPORT QWidgetH QWidget_create(QWidgetH parent, const char* name, WFlags f);
C_EXPORT void QWidget_destroy(QWidgetH handle);
C_EXPORT unsigned int QWidget_winId(QWidgetH handle);
C_EXPORT void QWidget_setName(QWidgetH handle, const char* name);
C_EXPORT QStyleH QWidget_style(QWidgetH handle);
C_EXPORT void QWidget_setStyle(QWidgetH handle, QStyleH p1);
C_EXPORT bool QWidget_isTopLevel(QWidgetH handle);
C_EXPORT bool QWidget_isModal(QWidgetH handle);
C_EXPORT bool QWidget_isPopup(QWidgetH handle);
C_EXPORT bool QWidget_isDesktop(QWidgetH handle);
C_EXPORT bool QWidget_isEnabled(QWidgetH handle);
C_EXPORT bool QWidget_isEnabledTo(QWidgetH handle, QWidgetH p1);
C_EXPORT bool QWidget_isEnabledToTLW(QWidgetH handle);
C_EXPORT void QWidget_setEnabled(QWidgetH handle, bool p1);
C_EXPORT void QWidget_setDisabled(QWidgetH handle, bool p1);
C_EXPORT void QWidget_frameGeometry(QWidgetH handle, PRect retval);
C_EXPORT void QWidget_geometry(QWidgetH handle, PRect retval);
C_EXPORT int QWidget_x(QWidgetH handle);
C_EXPORT int QWidget_y(QWidgetH handle);
C_EXPORT void QWidget_pos(QWidgetH handle, PPoint retval);
C_EXPORT void QWidget_frameSize(QWidgetH handle, PSize retval);
C_EXPORT void QWidget_size(QWidgetH handle, PSize retval);
C_EXPORT int QWidget_width(QWidgetH handle);
C_EXPORT int QWidget_height(QWidgetH handle);
C_EXPORT void QWidget_rect(QWidgetH handle, PRect retval);
C_EXPORT void QWidget_childrenRect(QWidgetH handle, PRect retval);
C_EXPORT void QWidget_childrenRegion(QWidgetH handle, QRegionH retval);
C_EXPORT void QWidget_minimumSize(QWidgetH handle, PSize retval);
C_EXPORT void QWidget_maximumSize(QWidgetH handle, PSize retval);
C_EXPORT int QWidget_minimumWidth(QWidgetH handle);
C_EXPORT int QWidget_minimumHeight(QWidgetH handle);
C_EXPORT int QWidget_maximumWidth(QWidgetH handle);
C_EXPORT int QWidget_maximumHeight(QWidgetH handle);
C_EXPORT void QWidget_setMinimumSize(QWidgetH handle, const QSizeH p1);
C_EXPORT void QWidget_setMinimumSize2(QWidgetH handle, int minw, int minh);
C_EXPORT void QWidget_setMaximumSize(QWidgetH handle, const QSizeH p1);
C_EXPORT void QWidget_setMaximumSize2(QWidgetH handle, int maxw, int maxh);
C_EXPORT void QWidget_setMinimumWidth(QWidgetH handle, int minw);
C_EXPORT void QWidget_setMinimumHeight(QWidgetH handle, int minh);
C_EXPORT void QWidget_setMaximumWidth(QWidgetH handle, int maxw);
C_EXPORT void QWidget_setMaximumHeight(QWidgetH handle, int maxh);
C_EXPORT void QWidget_sizeIncrement(QWidgetH handle, PSize retval);
C_EXPORT void QWidget_setSizeIncrement(QWidgetH handle, const QSizeH p1);
C_EXPORT void QWidget_setSizeIncrement2(QWidgetH handle, int w, int h);
C_EXPORT void QWidget_baseSize(QWidgetH handle, PSize retval);
C_EXPORT void QWidget_setBaseSize(QWidgetH handle, const QSizeH p1);
C_EXPORT void QWidget_setBaseSize2(QWidgetH handle, int basew, int baseh);
C_EXPORT void QWidget_setFixedSize(QWidgetH handle, const QSizeH p1);
C_EXPORT void QWidget_setFixedSize2(QWidgetH handle, int w, int h);
C_EXPORT void QWidget_setFixedWidth(QWidgetH handle, int w);
C_EXPORT void QWidget_setFixedHeight(QWidgetH handle, int h);
C_EXPORT void QWidget_mapToGlobal(QWidgetH handle, PPoint retval, const QPointH p1);
C_EXPORT void QWidget_mapFromGlobal(QWidgetH handle, PPoint retval, const QPointH p1);
C_EXPORT void QWidget_mapToParent(QWidgetH handle, PPoint retval, const QPointH p1);
C_EXPORT void QWidget_mapFromParent(QWidgetH handle, PPoint retval, const QPointH p1);
C_EXPORT void QWidget_mapTo(QWidgetH handle, PPoint retval, QWidgetH p1, const QPointH p2);
C_EXPORT void QWidget_mapFrom(QWidgetH handle, PPoint retval, QWidgetH p1, const QPointH p2);
C_EXPORT QWidgetH QWidget_topLevelWidget(QWidgetH handle);
C_EXPORT QWidgetBackgroundMode QWidget_backgroundMode(QWidgetH handle);
C_EXPORT void QWidget_setBackgroundMode(QWidgetH handle, QWidgetBackgroundMode p1);
C_EXPORT const QColorH QWidget_backgroundColor(QWidgetH handle);
C_EXPORT const QColorH QWidget_foregroundColor(QWidgetH handle);
C_EXPORT void QWidget_setBackgroundColor(QWidgetH handle, const QColorH p1);
C_EXPORT const QPixmapH QWidget_backgroundPixmap(QWidgetH handle);
C_EXPORT void QWidget_setBackgroundPixmap(QWidgetH handle, const QPixmapH p1);
C_EXPORT const QColorGroupH QWidget_colorGroup(QWidgetH handle);
C_EXPORT const QPaletteH QWidget_palette(QWidgetH handle);
C_EXPORT bool QWidget_ownPalette(QWidgetH handle);
C_EXPORT void QWidget_setPalette(QWidgetH handle, const QPaletteH p1);
C_EXPORT void QWidget_unsetPalette(QWidgetH handle);
C_EXPORT void QWidget_font(QWidgetH handle, QFontH retval);
C_EXPORT bool QWidget_ownFont(QWidgetH handle);
C_EXPORT void QWidget_setFont(QWidgetH handle, const QFontH p1);
C_EXPORT void QWidget_unsetFont(QWidgetH handle);
C_EXPORT void QWidget_fontMetrics(QWidgetH handle, QFontMetricsH retval);
C_EXPORT void QWidget_fontInfo(QWidgetH handle, QFontInfoH retval);
C_EXPORT QWidgetPropagationMode QWidget_fontPropagation(QWidgetH handle);
C_EXPORT void QWidget_setFontPropagation(QWidgetH handle, QWidgetPropagationMode p1);
C_EXPORT QWidgetPropagationMode QWidget_palettePropagation(QWidgetH handle);
C_EXPORT void QWidget_setPalettePropagation(QWidgetH handle, QWidgetPropagationMode p1);
C_EXPORT const QCursorH QWidget_cursor(QWidgetH handle);
C_EXPORT bool QWidget_ownCursor(QWidgetH handle);
C_EXPORT void QWidget_setCursor(QWidgetH handle, const QCursorH p1);
C_EXPORT void QWidget_unsetCursor(QWidgetH handle);
C_EXPORT void QWidget_caption(QWidgetH handle, PWideString retval);
C_EXPORT const QPixmapH QWidget_icon(QWidgetH handle);
C_EXPORT void QWidget_iconText(QWidgetH handle, PWideString retval);
C_EXPORT bool QWidget_hasMouseTracking(QWidgetH handle);
C_EXPORT void QWidget_setMask(QWidgetH handle, const QBitmapH p1);
C_EXPORT void QWidget_setMask2(QWidgetH handle, const QRegionH p1);
C_EXPORT void QWidget_clearMask(QWidgetH handle);
C_EXPORT void QWidget_setCaption(QWidgetH handle, PWideString p1);
C_EXPORT void QWidget_setIcon(QWidgetH handle, const QPixmapH p1);
C_EXPORT void QWidget_setIconText(QWidgetH handle, PWideString p1);
C_EXPORT void QWidget_setMouseTracking(QWidgetH handle, bool enable);
C_EXPORT void QWidget_setFocus(QWidgetH handle);
C_EXPORT void QWidget_clearFocus(QWidgetH handle);
C_EXPORT bool QWidget_isActiveWindow(QWidgetH handle);
C_EXPORT void QWidget_setActiveWindow(QWidgetH handle);
C_EXPORT bool QWidget_isFocusEnabled(QWidgetH handle);
C_EXPORT QWidgetFocusPolicy QWidget_focusPolicy(QWidgetH handle);
C_EXPORT void QWidget_setFocusPolicy(QWidgetH handle, QWidgetFocusPolicy p1);
C_EXPORT bool QWidget_hasFocus(QWidgetH handle);
C_EXPORT void QWidget_setTabOrder(QWidgetH p1, QWidgetH p2);
C_EXPORT void QWidget_setFocusProxy(QWidgetH handle, QWidgetH p1);
C_EXPORT QWidgetH QWidget_focusProxy(QWidgetH handle);
C_EXPORT void QWidget_grabMouse(QWidgetH handle);
C_EXPORT void QWidget_grabMouse2(QWidgetH handle, const QCursorH p1);
C_EXPORT void QWidget_releaseMouse(QWidgetH handle);
C_EXPORT void QWidget_grabKeyboard(QWidgetH handle);
C_EXPORT void QWidget_releaseKeyboard(QWidgetH handle);
C_EXPORT QWidgetH QWidget_mouseGrabber();
C_EXPORT QWidgetH QWidget_keyboardGrabber();
C_EXPORT bool QWidget_isUpdatesEnabled(QWidgetH handle);

C_EXPORT void QWidget_setUpdatesEnabled(QWidgetH handle, bool enable);
C_EXPORT void QWidget_update(QWidgetH handle);
C_EXPORT void QWidget_update2(QWidgetH handle, int x, int y, int w, int h);
C_EXPORT void QWidget_update3(QWidgetH handle, PRect p1);
C_EXPORT void QWidget_repaint(QWidgetH handle);
C_EXPORT void QWidget_repaint2(QWidgetH handle, bool erase);
C_EXPORT void QWidget_repaint3(QWidgetH handle, int x, int y, int w, int h, bool erase);
C_EXPORT void QWidget_repaint4(QWidgetH handle, PRect p1, bool erase);
C_EXPORT void QWidget_repaint5(QWidgetH handle, const QRegionH p1, bool erase);
C_EXPORT void QWidget_show(QWidgetH handle);
C_EXPORT void QWidget_hide(QWidgetH handle);
C_EXPORT void QWidget_iconify(QWidgetH handle);
C_EXPORT void QWidget_showMinimized(QWidgetH handle);
C_EXPORT void QWidget_showMaximized(QWidgetH handle);
C_EXPORT void QWidget_showFullScreen(QWidgetH handle);
C_EXPORT void QWidget_showNormal(QWidgetH handle);
C_EXPORT void QWidget_polish(QWidgetH handle);
C_EXPORT void QWidget_constPolish(QWidgetH handle);
C_EXPORT bool QWidget_close(QWidgetH handle);
C_EXPORT void QWidget_raise(QWidgetH handle);
C_EXPORT void QWidget_lower(QWidgetH handle);
C_EXPORT void QWidget_stackUnder(QWidgetH handle, QWidgetH p1);
C_EXPORT void QWidget_move(QWidgetH handle, int x, int y);
C_EXPORT void QWidget_move2(QWidgetH handle, const QPointH p1);
C_EXPORT void QWidget_resize(QWidgetH handle, int w, int h);
C_EXPORT void QWidget_resize2(QWidgetH handle, const QSizeH p1);
C_EXPORT void QWidget_setGeometry(QWidgetH handle, int x, int y, int w, int h);
C_EXPORT void QWidget_setGeometry2(QWidgetH handle, PRect p1);
C_EXPORT bool QWidget_close2(QWidgetH handle, bool alsoDelete);
C_EXPORT bool QWidget_isVisible(QWidgetH handle);
C_EXPORT bool QWidget_isVisibleTo(QWidgetH handle, QWidgetH p1);
C_EXPORT bool QWidget_isVisibleToTLW(QWidgetH handle);
C_EXPORT void QWidget_visibleRect(QWidgetH handle, PRect retval);
C_EXPORT bool QWidget_isHidden(QWidgetH handle);
C_EXPORT bool QWidget_isMinimized(QWidgetH handle);
C_EXPORT bool QWidget_isMaximized(QWidgetH handle);
C_EXPORT void QWidget_sizeHint(QWidgetH handle, PSize retval);
C_EXPORT void QWidget_minimumSizeHint(QWidgetH handle, PSize retval);
C_EXPORT void QWidget_sizePolicy(QWidgetH handle, PSizePolicy retval);
C_EXPORT void QWidget_setSizePolicy(QWidgetH handle, PSizePolicy p1);
C_EXPORT int QWidget_heightForWidth(QWidgetH handle, int p1);
C_EXPORT void QWidget_adjustSize(QWidgetH handle);
C_EXPORT QLayoutH QWidget_layout(QWidgetH handle);
C_EXPORT void QWidget_updateGeometry(QWidgetH handle);
C_EXPORT void QWidget_reparent(QWidgetH handle, QWidgetH parent, WFlags p2, const QPointH p3, bool showIt);
C_EXPORT void QWidget_reparent2(QWidgetH handle, QWidgetH parent, const QPointH p2, bool showIt);
C_EXPORT void QWidget_recreate(QWidgetH handle, QWidgetH parent, WFlags f, const QPointH p, bool showIt);
C_EXPORT void QWidget_erase(QWidgetH handle);
C_EXPORT void QWidget_erase2(QWidgetH handle, int x, int y, int w, int h);
C_EXPORT void QWidget_erase3(QWidgetH handle, PRect p1);
C_EXPORT void QWidget_erase4(QWidgetH handle, const QRegionH p1);
C_EXPORT void QWidget_scroll(QWidgetH handle, int dx, int dy);
C_EXPORT void QWidget_scroll2(QWidgetH handle, int dx, int dy, PRect p3);
C_EXPORT void QWidget_drawText(QWidgetH handle, int x, int y, PWideString p3);
C_EXPORT void QWidget_drawText2(QWidgetH handle, const QPointH p1, PWideString p2);
C_EXPORT QWidgetH QWidget_focusWidget(QWidgetH handle);
C_EXPORT void QWidget_microFocusHint(QWidgetH handle, PRect retval);
C_EXPORT bool QWidget_acceptDrops(QWidgetH handle);
C_EXPORT void QWidget_setAcceptDrops(QWidgetH handle, bool on);
C_EXPORT void QWidget_setAutoMask(QWidgetH handle, bool p1);
C_EXPORT bool QWidget_autoMask(QWidgetH handle);
C_EXPORT void QWidget_setBackgroundOrigin(QWidgetH handle, QWidgetBackgroundOrigin p1);
C_EXPORT QWidgetBackgroundOrigin QWidget_backgroundOrigin(QWidgetH handle);
C_EXPORT bool QWidget_customWhatsThis(QWidgetH handle);
C_EXPORT QWidgetH QWidget_parentWidget(QWidgetH handle);
C_EXPORT bool QWidget_testWState(QWidgetH handle, uint n);
C_EXPORT bool QWidget_testWFlags(QWidgetH handle, WFlags f);
C_EXPORT QWidgetH QWidget_find(unsigned int p1);
C_EXPORT QWidgetMapperH QWidget_wmapper();

C_EXPORT void QWidget_setPalette2(QWidgetH handle, const QPaletteH p1, bool iReallyMeanIt);
C_EXPORT void QWidget_setFont2(QWidgetH handle, const QFontH p1, bool iReallyMeanIt);
C_EXPORT QPaintDeviceH QWidget_to_QPaintDevice(QWidgetH handle);

#endif
